home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Freeware 2002 November
/
SGI Freeware 2002 November - Disc 1.iso
/
dist
/
fw_exmh.idb
/
usr
/
freeware
/
lib
/
exmh-2.5
/
partial.tcl.z
/
partial.tcl
Wrap
Text File
|
2002-07-08
|
685b
|
29 lines
#
# partial.tcl --
#
# Prodedure to Concatenate Partial messages to a new message.
#
# Author: Sven-Ove Westberg (sow@cad.luth.se)
# Sven-Ove Westberg, CAD, University of Lulea, S-971 87 Lulea, Sweden
#
proc Partial_Concatenate {} {
global exmh
set msgs {}
Ftoc_Iterate line {
lappend msgs [Ftoc_MsgNumber $line]
}
Exmh_Status "Concatenate message $msgs"
Exmh_Debug exec mhn -store +$exmh(folder) $msgs
if [catch {open "|mhn -store +$exmh(folder) $msgs |& cat"} input] {
Exmh_Status $input
return
}
while {[gets $input line] >= 0} {
Exmh_Status $line
}
if [catch {close $input} err] {
Exmh_Status $err
}
busy Scan_FolderForce ; Msg_ShowSomething
}